package Professor;

import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

public class ProfessorInfoCansulation extends JPanel{
	
	private JTextField textField_5;
	private JTextField textField_9;
	private JTextField textField_10;
	private JTextField textField_11;
	private JTextField textField_12;
	private JTextField textField_13;
	private JTextField textField_15;
	private JTextField textField_16;
	private JTextField textField_19;
	private JLabel lblNewLabel;
	private JLabel lblNewLabel_1;
	private JLabel lblNewLabel_2;
	private JLabel lblNewLabel_3;
	private JLabel lblNewLabel_4;
	private JLabel lblNewLabel_5;
	private JLabel lblNewLabel_6;
	private JLabel lblNewLabel_7;
	private JLabel lblNewLabel_8;
	private JLabel lblNewLabel_9;
	public ProfessorInfoCansulation() {
	
	
	GridBagLayout gbl_contentPane = new GridBagLayout();
	gbl_contentPane.columnWidths = new int[]{100, 150, 0, 0, 0};
	gbl_contentPane.rowHeights = new int[]{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
	gbl_contentPane.columnWeights = new double[]{0.0, 0.0, 0.0, 0.0, Double.MIN_VALUE};
	gbl_contentPane.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, Double.MIN_VALUE};
	setLayout(gbl_contentPane);
	
	lblNewLabel_9 = new JLabel("개인정보 창");
	GridBagConstraints gbc_lblNewLabel_9 = new GridBagConstraints();
	gbc_lblNewLabel_9.insets = new Insets(0, 0, 5, 5);
	gbc_lblNewLabel_9.gridx = 1;
	gbc_lblNewLabel_9.gridy = 0;
	add(lblNewLabel_9, gbc_lblNewLabel_9);
	
	lblNewLabel = new JLabel("   성명 :");
	GridBagConstraints gbc_lblNewLabel = new GridBagConstraints();
	gbc_lblNewLabel.insets = new Insets(0, 0, 5, 5);
	gbc_lblNewLabel.anchor = GridBagConstraints.EAST;
	gbc_lblNewLabel.gridx = 0;
	gbc_lblNewLabel.gridy = 1;
	add(lblNewLabel, gbc_lblNewLabel);
	
	textField_9 = new JTextField();
	GridBagConstraints gbc_textField_9 = new GridBagConstraints();
	gbc_textField_9.insets = new Insets(0, 0, 5, 5);
	gbc_textField_9.fill = GridBagConstraints.HORIZONTAL;
	gbc_textField_9.gridx = 1;
	gbc_textField_9.gridy = 1;
	add(textField_9, gbc_textField_9);
	textField_9.setColumns(10);
	
	lblNewLabel_1 = new JLabel("교수 번호 :");
	GridBagConstraints gbc_lblNewLabel_1 = new GridBagConstraints();
	gbc_lblNewLabel_1.insets = new Insets(0, 0, 5, 5);
	gbc_lblNewLabel_1.anchor = GridBagConstraints.EAST;
	gbc_lblNewLabel_1.gridx = 0;
	gbc_lblNewLabel_1.gridy = 2;
	add(lblNewLabel_1, gbc_lblNewLabel_1);
	
	textField_10 = new JTextField();
	GridBagConstraints gbc_textField_10 = new GridBagConstraints();
	gbc_textField_10.insets = new Insets(0, 0, 5, 5);
	gbc_textField_10.fill = GridBagConstraints.HORIZONTAL;
	gbc_textField_10.gridx = 1;
	gbc_textField_10.gridy = 2;
	add(textField_10, gbc_textField_10);
	textField_10.setColumns(10);
	
	lblNewLabel_2 = new JLabel("연락처 :");
	GridBagConstraints gbc_lblNewLabel_2 = new GridBagConstraints();
	gbc_lblNewLabel_2.insets = new Insets(0, 0, 5, 5);
	gbc_lblNewLabel_2.anchor = GridBagConstraints.EAST;
	gbc_lblNewLabel_2.gridx = 0;
	gbc_lblNewLabel_2.gridy = 3;
	add(lblNewLabel_2, gbc_lblNewLabel_2);
	
	textField_11 = new JTextField();
	GridBagConstraints gbc_textField_11 = new GridBagConstraints();
	gbc_textField_11.insets = new Insets(0, 0, 5, 5);
	gbc_textField_11.fill = GridBagConstraints.HORIZONTAL;
	gbc_textField_11.gridx = 1;
	gbc_textField_11.gridy = 3;
	add(textField_11, gbc_textField_11);
	textField_11.setColumns(10);
	
	lblNewLabel_3 = new JLabel("비밀 번호 :");
	GridBagConstraints gbc_lblNewLabel_3 = new GridBagConstraints();
	gbc_lblNewLabel_3.insets = new Insets(0, 0, 5, 5);
	gbc_lblNewLabel_3.anchor = GridBagConstraints.EAST;
	gbc_lblNewLabel_3.gridx = 0;
	gbc_lblNewLabel_3.gridy = 4;
	add(lblNewLabel_3, gbc_lblNewLabel_3);
	
	textField_12 = new JTextField();
	GridBagConstraints gbc_textField_12 = new GridBagConstraints();
	gbc_textField_12.insets = new Insets(0, 0, 5, 5);
	gbc_textField_12.fill = GridBagConstraints.HORIZONTAL;
	gbc_textField_12.gridx = 1;
	gbc_textField_12.gridy = 4;
	add(textField_12, gbc_textField_12);
	textField_12.setColumns(10);
	
	lblNewLabel_4 = new JLabel("비밀번호 재입력 :");
	GridBagConstraints gbc_lblNewLabel_4 = new GridBagConstraints();
	gbc_lblNewLabel_4.insets = new Insets(0, 0, 5, 5);
	gbc_lblNewLabel_4.anchor = GridBagConstraints.EAST;
	gbc_lblNewLabel_4.gridx = 0;
	gbc_lblNewLabel_4.gridy = 5;
	add(lblNewLabel_4, gbc_lblNewLabel_4);
	
	textField_13 = new JTextField();
	GridBagConstraints gbc_textField_13 = new GridBagConstraints();
	gbc_textField_13.insets = new Insets(0, 0, 5, 5);
	gbc_textField_13.fill = GridBagConstraints.HORIZONTAL;
	gbc_textField_13.gridx = 1;
	gbc_textField_13.gridy = 5;
	add(textField_13, gbc_textField_13);
	textField_13.setColumns(10);
	
	lblNewLabel_5 = new JLabel("집 주소 :");
	GridBagConstraints gbc_lblNewLabel_5 = new GridBagConstraints();
	gbc_lblNewLabel_5.insets = new Insets(0, 0, 5, 5);
	gbc_lblNewLabel_5.anchor = GridBagConstraints.EAST;
	gbc_lblNewLabel_5.gridx = 0;
	gbc_lblNewLabel_5.gridy = 6;
	add(lblNewLabel_5, gbc_lblNewLabel_5);
	
	textField_5 = new JTextField();
	GridBagConstraints gbc_textField_5 = new GridBagConstraints();
	gbc_textField_5.insets = new Insets(0, 0, 5, 5);
	gbc_textField_5.fill = GridBagConstraints.HORIZONTAL;
	gbc_textField_5.gridx = 1;
	gbc_textField_5.gridy = 6;
	add(textField_5, gbc_textField_5);
	textField_5.setColumns(10);
	
	lblNewLabel_6 = new JLabel("사무실 주소 :");
	GridBagConstraints gbc_lblNewLabel_6 = new GridBagConstraints();
	gbc_lblNewLabel_6.insets = new Insets(0, 0, 5, 5);
	gbc_lblNewLabel_6.anchor = GridBagConstraints.EAST;
	gbc_lblNewLabel_6.gridx = 0;
	gbc_lblNewLabel_6.gridy = 7;
	add(lblNewLabel_6, gbc_lblNewLabel_6);
	
	textField_15 = new JTextField();
	GridBagConstraints gbc_textField_15 = new GridBagConstraints();
	gbc_textField_15.insets = new Insets(0, 0, 5, 5);
	gbc_textField_15.fill = GridBagConstraints.HORIZONTAL;
	gbc_textField_15.gridx = 1;
	gbc_textField_15.gridy = 7;
	add(textField_15, gbc_textField_15);
	textField_15.setColumns(10);
	
	lblNewLabel_7 = new JLabel("담당 학과 :");
	GridBagConstraints gbc_lblNewLabel_7 = new GridBagConstraints();
	gbc_lblNewLabel_7.insets = new Insets(0, 0, 5, 5);
	gbc_lblNewLabel_7.anchor = GridBagConstraints.EAST;
	gbc_lblNewLabel_7.gridx = 0;
	gbc_lblNewLabel_7.gridy = 8;
	add(lblNewLabel_7, gbc_lblNewLabel_7);

	textField_19 = new JTextField();
	GridBagConstraints gbc_textField_19 = new GridBagConstraints();
	gbc_textField_19.insets = new Insets(0, 0, 5, 5);
	gbc_textField_19.fill = GridBagConstraints.HORIZONTAL;
	gbc_textField_19.gridx = 1;
	gbc_textField_19.gridy = 8;
	add(textField_19, gbc_textField_19);
	textField_19.setColumns(10);
	
	lblNewLabel_8 = new JLabel("담당 과목 :");
	GridBagConstraints gbc_lblNewLabel_8 = new GridBagConstraints();
	gbc_lblNewLabel_8.insets = new Insets(0, 0, 5, 5);
	gbc_lblNewLabel_8.anchor = GridBagConstraints.EAST;
	gbc_lblNewLabel_8.gridx = 0;
	gbc_lblNewLabel_8.gridy = 9;
	add(lblNewLabel_8, gbc_lblNewLabel_8);
	
	

	// 수정불가능하게 설정 -- 완료
				
	textField_16 = new JTextField();
	GridBagConstraints gbc_textField_16 = new GridBagConstraints();
	gbc_textField_16.insets = new Insets(0, 0, 5, 5);
	gbc_textField_16.fill = GridBagConstraints.HORIZONTAL;
	gbc_textField_16.gridx = 1;
	gbc_textField_16.gridy = 9;
	add(textField_16, gbc_textField_16);
	textField_16.setColumns(10);
	textField_16.setFocusable(false);
	
	JButton btnNewButton = new JButton("등록");
	GridBagConstraints gbc_btnNewButton = new GridBagConstraints();
	gbc_btnNewButton.insets = new Insets(0, 0, 5, 5);
	gbc_btnNewButton.gridx = 0;
	gbc_btnNewButton.gridy = 10;
	add(btnNewButton, gbc_btnNewButton);
	
	JButton btnNewButton_1 = new JButton("취소");
	btnNewButton_1.addActionListener(new ActionListener() {
		public void actionPerformed(ActionEvent e) {
			
		}
	});
	GridBagConstraints gbc_btnNewButton_1 = new GridBagConstraints();
	gbc_btnNewButton_1.insets = new Insets(0, 0, 5, 5);
	gbc_btnNewButton_1.gridx = 1;
	gbc_btnNewButton_1.gridy = 10;
	add(btnNewButton_1, gbc_btnNewButton_1);
}
	

	
}
